import { _decorator, Component, Node, tween, Vec3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('CamerManager')
export class CamerManager extends Component {
    start() {
        //相机移动
        // tween(this.node)
        // .to(4, {position: new Vec3(this.node.position.x + 500, this.node.position.y, this.node.position.z)}, {'easing': 'smooth'})
        // .to(4, {position: new Vec3(this.node.position.x, this.node.position.y, this.node.position.z)}, {'easing': 'smooth'})
        // .call(()=>{
        //     console.log("Camera move completed");
        // }).start();
        
    }

    update(deltaTime: number) {
        
    }
}


